package org.example.org.example.api

import org.koin.core.component.KoinComponent
import org.koin.core.component.inject

class RocketLaunchService: KoinComponent {

    private val api: SpaceXApi by inject()

    suspend fun getRocketLaunches(): List<RocketLaunch> {
        return api.getAllLaunches()
    }


}